/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aaron.platform.dao;

import com.aaron.platform.entity.ItscRoleInfo;

/**
 *
 * @author mac
 */
public class RoleDaoImp extends GenericDAO<ItscRoleInfo, Integer> implements IRoleDao{

    public RoleDaoImp(){
        super(ItscRoleInfo.class);
    }

    public ItscRoleInfo findRoleByName(String roleName){
            return findByUniqueKey(ItscRoleInfo.PROPERTY_ROLE_NAME, roleName);
    }

}
